package ru.spbu.math.seabattle.entity;

import java.io.Serializable;

public class TurnResult implements Serializable {
	
	private static final long serialVersionUID = 1L;

	public final boolean success;
	
	public final int i;
	public final int j;

	public TurnResult(boolean success, int i, int j) {
		this.success = success;
		this.i = i;
		this.j = j;
	}
	
	public TurnResult(boolean success, Action action) {
		
		this.success = success;
		this.i = action.i;
		this.j = action.j;
	}
}
